package com.tools_s7;

import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.RecyclerView;
import android.widget.TextView;

import com.tools.s7.delegate.BaseADelegate;

/**
 * Created by Administor on 2018\7\19 0019.
 */
public class TestDelegate extends BaseADelegate {

    public SwipeRefreshLayout swipeRefresh;
    public RecyclerView recycler;
    public TextView tv;

    @Override
    public int getLayoutId() {
        return R.layout.activity_test;
    }

    @Override
    public void initWidget() {
        super.initWidget();
        swipeRefresh = findViewById(R.id.test_swipeRefresh);
        recycler = findViewById(R.id.test_recycler);
        tv = findViewById(R.id.test_tv);

        tv.setText(getResources().getString(R.string.app_name));
    }
}
